package com.mornd.gulimall.apis.seckill.to;

import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * @author: mornd
 * @dateTime: 2023/8/30 - 9:17
 */

@Data
public class SeckillOrderTo implements Serializable {
    private static final long serialVersionUID = 1L;
    /**
     * 活动场次id
     */
    private Long promotionSessionId;

    /**
     * 商品id
     */
    private Long skuId;

    /**
     * 秒杀价格
     */
    private BigDecimal seckillPrice;

    /**
     * 用户秒杀量
     */
    private Integer num;

    private long seckillStartTime;
    private long seckillendTime;

    // 秒杀订单编号
    private String orderSn;
    // 用户id
    private Long memberId;
}
